crypto/tls.cipherSuite.cipher (field)
6 uses
crypto/tls (current package)
cipher_suites.go#L143: cipher func(key, iv []byte, isRead bool) any
handshake_client.go#L662: if hs.suite.cipher != nil {
handshake_client.go#L663: clientCipher = hs.suite.cipher(clientKey, clientIV, false /* not for reading */)
handshake_client.go#L665: serverCipher = hs.suite.cipher(serverKey, serverIV, true /* for reading */)
handshake_server.go#L688: clientCipher = hs.suite.cipher(clientKey, clientIV, true /* for reading */)
handshake_server.go#L690: serverCipher = hs.suite.cipher(serverKey, serverIV, false /* not for reading */)